//
//  MineCollectionTableViewController.m
//  BakeCenter
//
//  Created by Barnett Wu on 15/9/22.
//  Copyright (c) 2015年 Baked. All rights reserved.
//

#import "MineCollectionTableViewController.h"
#import "MineCollectionCell.h"

@interface MineCollectionTableViewController ()

@end

@implementation MineCollectionTableViewController

- (void)viewDidLoad {
    [super viewDidLoad];
//    self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
    [self.tableView registerClass:[MineCollectionCell class] forCellReuseIdentifier:@"MineCell"];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];

}

#pragma mark - Table view data source

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
    return kScreenHeight / 3;

}


#pragma mark  *** section number ***
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
    return 1;
}

#pragma mark  *** row number ***
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return 4;
}

#pragma mark  *** return cell ***
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    static NSString *identifier = @"MineCell";
    
    MineCollectionCell *cell = [tableView dequeueReusableCellWithIdentifier:identifier forIndexPath:indexPath];
    cell.contentView.backgroundColor = [UIColor ghostWhiteColor];
    
    return cell;
    
}



@end
